﻿<%@ Register TagPrefix="ucCommon" TagName="Common" Src="../Common/Inc/Common.ascx" %>
<%@ Register TagPrefix="ucTabTitle" TagName="TabTitle" Src="../Common/Inc/TabTitle.ascx" %>
<%@ Register TagPrefix="ucCopyright" TagName="Copyright" Src="../Common/Inc/Copyright.ascx" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Cfg3012p.aspx.cs" Inherits="Updms.Cfg.Cfg3012p" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>▒ UPDMS [Cfg3012p] ▒▒▒▒▒▒▒▒▒▒</title>
<ucCommon:Common id="Common" runat="server"></ucCommon:Common>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" id="ScriptManager1" EnableScriptGlobalization="true"></asp:ScriptManager>

<table id="table_frame">
	<tr>
		<td id="contents_area">
			<!-- 제목 시작 -->
			<ucTabTitle:TabTitle id="TabTitle" TagPrefixs="Cfg3012p" runat="server"></ucTabTitle:TabTitle>
			<!-- 제목 끝 -->
			<!-- AJAX 시작 -->
			<asp:UpdatePanel ID="UpdatePanel1" runat="server">
			<Triggers>
				<asp:PostBackTrigger ControlID="ibtn_close"/>
			</Triggers>
			<ContentTemplate>
			<!-- 버튼 시작 -->
			<div class="button_area">
				<asp:linkbutton id="ibtn_close" Text="닫기" runat="server" CssClass="ibtn ibtn_close" OnClick="ibtn_close_Click"></asp:linkbutton>
			</div>
			<!-- 버튼 끝 -->
			<!-- 검색 시작 -->
			<table class="table_search">
				<tr>
					<td class="lbl" width="20%"><asp:Literal ID="ltr_search_div" Text="구분" runat="server" /></td>
					<td class="ctl" width="80%"><asp:dropdownlist id="ddl_search_div" runat="server" CssClass="ddl" onselectedindexchanged="ddl_search_div_SelectedIndexChanged" AutoPostBack="True" ></asp:dropdownlist></td>
				</tr>
			</table>
			<!-- 검색 끝 -->
			<!-- 디테일1 시작 -->
			<table id="table_detail_1" class="table_detail" runat="server">
				<tr>
					<td class="lbl" width="20%"><asp:Literal ID="ltr_setting" Text="설정값" runat="server" /></td>
					<td class="ctl" width="80%">
						<asp:textbox id="txt_direct_input" runat="server" CssClass="ib_b" Width="98%" onkeyup="copySettingValue(this);"></asp:textbox>
						<asp:radiobuttonlist id="rbl_use_yn" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" CssClass="rbl_flow" OnSelectedIndexChanged="rbl_use_yn_SelectedIndexChanged" AutoPostBack="True"></asp:radiobuttonlist>
						<asp:textbox id="txt_score_slider" runat="server"></asp:textbox>
						<asp:textbox id="txt_digit_1_slider" runat="server"></asp:textbox>
						<asp:textbox id="txt_digit_2_slider" runat="server"></asp:textbox>
						<asp:dropdownlist id="ddl_card_cd" runat="server" CssClass="ddl" OnSelectedIndexChanged="ddl_card_cd_SelectedIndexChanged" AutoPostBack="true"></asp:dropdownlist>
						<asp:dropdownlist id="ddl_prj_id" runat="server" CssClass="ddl" Width="99.8%" OnSelectedIndexChanged="ddl_prj_id_SelectedIndexChanged" AutoPostBack="True"></asp:dropdownlist>
						<asp:dropdownlist id="ddl_shop_id" runat="server" CssClass="ddl" Width="99.8%" OnSelectedIndexChanged="ddl_shop_id_SelectedIndexChanged" AutoPostBack="True"></asp:dropdownlist>
						<asp:textbox id="txt_dt" runat="server" CssClass="ib_b" Width="98%"></asp:textbox>
					</td>
				</tr>
				<tr>
					<td class="lbl"><asp:Literal ID="ltr_setting_value" Text="선택값" runat="server" /></td>
					<td class="ctl"><asp:textbox id="txt_setting_value" CssClass="ib_nb" Width="98%" runat="server" /></td>
				</tr>
			</table>
			<!-- 디테일1 끝 -->
			<!-- 리스트셋 시작 -->
			<!-- 리스트셋 끝 -->
			<!-- 카피라이트 시작 -->
			<ucCopyright:Copyright id="Copyright" runat="server"></ucCopyright:Copyright>
			<!-- 카피라이트 끝 -->
			<!-- 히든값 시작 -->
			<div id="hdn_data">
			</div>
			<!-- 히든값 끝 -->
			<!--슬라이더-->
			<act:SliderExtender ID="se_score" runat="server"
				TargetControlID="txt_score_slider"
				BoundControlID="txt_setting_value"
				BehaviorID="ScoreSlider"
				EnableHandleAnimation="true"
				TooltipText="{0}"
				Length="300"
				Decimals="1"
				Minimum="0.0"
				Maximum="9.9" />
			<act:SliderExtender ID="se_digit_1" runat="server"
				TargetControlID="txt_digit_1_slider"
				BoundControlID="txt_setting_value"
				BehaviorID="Digit1Slider"
				EnableHandleAnimation="true"
				TooltipText="{0}"
				Length="300"
				Minimum="0"
				Maximum="100" />
			<act:SliderExtender ID="se_digit_2" runat="server"
				TargetControlID="txt_digit_2_slider"
				BoundControlID="txt_setting_value"
				BehaviorID="Digit2Slider"
				EnableHandleAnimation="true"
				TooltipText="{0}"
				Length="300"
				Steps="10"
				Minimum="10"
				Maximum="100" />
			<act:CalendarExtender ID="ce_dt"
				runat="server" 
				TargetControlID="txt_dt"
				Format="yyyy-MM-dd" 
				PopupButtonID="txt_dt" 
				EnableViewState="False" 
				BehaviorID="bi_dt"
				OnClientDateSelectionChanged="copySelectedDate" 
				CssClass="calendar">
			</act:CalendarExtender>
			</ContentTemplate>
			</asp:UpdatePanel>
			<!-- AJAX 끝 -->
		</td>
	</tr>
</table>

<asp:updateprogress AssociatedUpdatePanelID="UpdatePanel1" ID="updateProgress" runat="server">
	<progresstemplate>
		<div id="progressBackgroundFilter"></div>
		<div id="processMessage">
			<div id="processing"></div>
			<img src="../Common/Images/processing_img.gif" />
		</div>
	</progresstemplate>
</asp:updateprogress>

</form>
<script type="text/javascript" language="javascript" defer="defer">
	//직접입력시
	function copySettingValue(id) {
		$("txt_setting_value").value = $F(id);
	}

	//날짜선택시
	function copySelectedDate(sender, args) {
		var selectedDate = sender.get_selectedDate().format(sender._format);
		$("txt_setting_value").value = selectedDate;
	}
</script>
</body>
</html>